package com.zhuojy.equity.mall.admin.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhuojy.equity.mall.admin.common.annotation.ExcelExport;
import com.zhuojy.equity.mall.admin.common.annotation.ExcelImport;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
/**
 * (TCar)表实体类
 *
 * @author makejava
 * @since 2024-03-27 17:11:22
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_car")
public class TCar implements Serializable {

    private static final long serialVersionUID = -3362245756126496769L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
    * 车辆名称
    */
    @ExcelExport(value = "车辆名称", sort = 1)
    @ExcelImport(value = "车辆名称")
    private String carName;

    /**
    * 车辆照片
    */
    @ExcelExport(value = "车辆照片", sort = 2)
    @ExcelImport(value = "车辆照片")
    private String carImg;

    /**
    * 车牌号
    */
    @ExcelExport(value = "车牌号", sort = 3)
    @ExcelImport(value = "车牌号")
    private String carNumber;

    /**
    * 座位数
    */
    @ExcelExport(value = "座位数", sort = 4)
    @ExcelImport(value = "座位数")
    private Integer seating;

    /**
    * 车辆状态 0空闲 1使用中 2审批拒绝 3审批撤销
    */
    @ExcelExport(value = "车辆状态", sort = 5,kv = "0<=>空闲;1<=>使用中;2<=>审批拒绝;3<=>审批撤销")
    @ExcelImport(value = "车辆状态")
    private String carState;

    /**
    * 车辆备注
    */
    @ExcelExport(value = "车辆备注", sort = 6)
    @ExcelImport(value = "车辆备注")
    private String carRemark;

    /**
    * 创建时间
    */
    private Date createTime;

    /**
    * 创建人
    */
    private String createAt;

    /**
    * 修改时间
    */
    private Date updateTime;

    /**
    * 修改人
    */
    private String updateAt;

    /**
    * 车系 
    */
    @ExcelExport(value = "车系", sort = 7)
    @ExcelImport(value = "车系")
    private String carSeries;

    /**
    * 品牌 0奥迪 1宝马 2 奔驰 3其他
    */
    @ExcelExport(value = "品牌", sort = 8 )
    @ExcelImport(value = "品牌")
    private String carBrank;

    /**
    * 燃油类型 0燃油 1电动 2 油电混合
    */
    @ExcelExport(value = "燃油类型", sort = 9,kv="0<=>燃油;1<=>电动;2<=>油电混合")
    @ExcelImport(value = "燃油类型")
    private String fuelOiltype;

}
